package org.halk.handle;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

/**
 * @Author halk
 * @Date 2023/7/12 17:30
 */
@Component
public class MyHandle {


    @Async
    public void testRun() throws InterruptedException {
        Thread.sleep(5000);
        System.out.println("我是异步执行的: " + System.currentTimeMillis());
    }
}
